//
//  GQAppDelegate.m
//  GuQu
//
//  Created by HELIUM STAR on 15/5/4.
//  Copyright (c) 2015年 HELIUM STAR. All rights reserved.
//

#import "GQAppDelegate.h"
#import "GQHomePageController.h"
#import "GQTabBarController.h"
#import "GQNavigationController.h"
#import "GQMainNavigationController.h"
#import "GQDistributeToolPhotoUrl.h"
#import <SMS_SDK/SMS_SDK.h>
#import "Reachability.h"

@implementation GQAppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
    GQHomePageController *GQHPC = [[GQHomePageController alloc] init];
    GQNavigationController *GQNC = [[GQNavigationController alloc] initWithRootViewController:GQHPC];
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.rootViewController = GQNC;
    [self.window makeKeyAndVisible];

    NSString *appKey = @"7ed3b2adacb8";
    NSString *appSecret = @"71a9a29c04ca00c2d5a1355c22b2a91d";
    
    [SMS_SDK registerApp:appKey withSecret:appSecret];
    return YES;
}

@end
